package com.fxp.project.jiuselu.web.models.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 发现模块图片设置对象 jsl_find_img
 *
 * @author Jason.Wang
 * @date 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FindImg implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id主键自增 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 图片地址 */
    @TableField("find_img")
    private String findImg;

    /** 说明 */
    @TableField("find_desc")
    private String findDesc;

    /** 平台类型：0、PC 1、小程序 */
    @TableField("platform")
    private String platform;

    /** Banner类型：0、内链 1、外链 */
    @TableField("find_type")
    private String findType;

    /** 链接地址 */
    @TableField("find_url")
    private String findUrl;

    /** 显示顺序 */
    @TableField("find_sort")
    private Long findSort;

    /** 是否展示 */
    @TableField("is_show")
    private String isShow;

    /** 开始时间 */
    @TableField("start_time")
    private Date startTime;

    /** 结束时间 */
    @TableField("end_time")
    private Date endTime;

    /** 删除标志（0代表存在 2代表删除） */
    @TableField("del_flag")
    private String delFlag;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFindImg(String findImg)
    {
        this.findImg = findImg;
    }

    public String getFindImg()
    {
        return findImg;
    }
    public void setFindDesc(String findDesc)
    {
        this.findDesc = findDesc;
    }

    public String getFindDesc()
    {
        return findDesc;
    }
    public void setPlatform(String platform)
    {
        this.platform = platform;
    }

    public String getPlatform()
    {
        return platform;
    }
    public void setFindType(String findType)
    {
        this.findType = findType;
    }

    public String getFindType()
    {
        return findType;
    }
    public void setFindUrl(String findUrl)
    {
        this.findUrl = findUrl;
    }

    public String getFindUrl()
    {
        return findUrl;
    }
    public void setFindSort(Long findSort)
    {
        this.findSort = findSort;
    }

    public Long getFindSort()
    {
        return findSort;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }


}
